﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Com.Web.coffinegurunaru.AppLogic.Page;
using Com.Library.DB.PageAuth;
using Com.Library.DB.Manager;
using Com.Library.Page;

namespace Com.Web.coffinegurunaru.manager.manager
{
	public partial class pageauthMethod : ManagerAjaxPage
	{
		public void SetPageAuthMain(int ManagerSN, int MainPageType, byte CodeAuthType)
		{
			PageAuthModel.SetAuthMain(ManagerSN, MainPageType, CodeAuthType, this.WebCookies.ManagerName);
		}

		public void SetPageAuthSub(int ManagerSN, int MainPageType, int SubPageType, byte CodeAuthType)
		{
			PageAuthModel.SetAuthSub(ManagerSN, MainPageType, SubPageType, CodeAuthType, this.WebCookies.ManagerName);
		}

		public void SetPageAuthBoard(int ManagerSN, int SubPageType, byte CodeAuthType)
		{
			PageAuthModel.SetAuthSub(ManagerSN, 1000, SubPageType, CodeAuthType, this.WebCookies.ManagerName);
		}
	}
}
